package com.atguigu.yjh.product.service;

import com.atguigu.yjh.common.utils.PageUtils;
import com.atguigu.yjh.product.vo.AttrGroupWithAttrsVo;
import com.atguigu.yjh.product.vo.SkuItemVo;
import com.atguigu.yjh.product.vo.SpuItemAttrGroupVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.yjh.product.entity.AttrGroupEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author yangjiahao
 * @email 2091312274@qq.com
 * @date 2022-07-08 11:44:31
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);

    List<AttrGroupWithAttrsVo> getAttrGroupWithAttrsByCatelogId(Long catelogId);

    List<SpuItemAttrGroupVo> getattrGroupWithAttrsBySpuId(Long spuId, Long catalogId);
}

